package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.RelationalExpressionRest;
import net.ericaro.neojavagen.expressions.ShiftExpression ;

/**
* *<pre> RelationalExpression :
    ShiftExpression RelationalExpressionRest?
</pre>
*/
public class RelationalExpression   {

ShiftExpression shiftexpression;
RelationalExpressionRest relationalexpressionrest ;

public RelationalExpression( ShiftExpression shiftexpression, RelationalExpressionRest relationalexpressionrest ){
	this.shiftexpression = shiftexpression; this.relationalexpressionrest = relationalexpressionrest ;
	}public RelationalExpression( ShiftExpression shiftexpression ){
this.shiftexpression = shiftexpression ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.shiftexpression ).append(" ");
if (this.relationalexpressionrest !=null ) stringbuilder.append( this.relationalexpressionrest ).append(" ") ;
	return stringbuilder.toString();
}

}
